#pragma once

class Mesh
{
public:
	Mesh()	{}
	virtual ~Mesh() {}
	
	virtual void Init() = 0;
	virtual void Destroy() = 0;
	virtual void Render() = 0;
protected:
	//*** game var
	//location
	//rotation
};

// TriangleMesh
class TriangleMesh : public Mesh
{
public:
	TriangleMesh()	{}
	virtual ~TriangleMesh() {}

	virtual void Init();
	virtual void Destroy();
	virtual void Render();

protected:

	//*** render var
	DWORD m_fvf;
	//LPDIRECT3DVERTEXBUFFER9 g_pVB;
};